package com.btsk.service.impl;

import java.util.List;

import com.btsk.dao.DeviceInfoDao;
import com.btsk.dao.NewGpsInfoDao;
import com.btsk.model.NewGpsInfo;
import com.btsk.service.NewGpsInfoManager;

public class NewGpsInfoManagerImpl extends GenericManagerImpl<NewGpsInfo, Long> implements
		NewGpsInfoManager {

	private NewGpsInfoDao newGpsInfoDao;
	
	public NewGpsInfoDao getNewGpsInfoDao() {
		return newGpsInfoDao;
	}

	public void setNewGpsInfoDao(NewGpsInfoDao newGpsInfoDao) {
		this.dao = newGpsInfoDao;
		this.newGpsInfoDao = newGpsInfoDao;
	}

	@Override
	public NewGpsInfo findNewGpsInfoByTermno(String termno) {
		// TODO Auto-generated method stub
		return this.newGpsInfoDao.findNewGpsInfoByTermno(termno);
	}

	@Override
	public List<NewGpsInfo> findAllNewGpsInfo() {
		// TODO Auto-generated method stub
		return this.newGpsInfoDao.findAllNewGpsInfo();
	}

	@Override
	public List<NewGpsInfo> findAllVehicleTypeNewGpsInfo() {
		// TODO Auto-generated method stub
		return this.newGpsInfoDao.findAllVehicleTypeNewGpsInfo();
	}

	@Override
	public List<NewGpsInfo> findNewGpsInfoByDeviceNo(String[] deviceNo) {
		// TODO Auto-generated method stub
		return this.newGpsInfoDao.findNewGpsInfoByDeviceNo(deviceNo);
	}
	
}
